package com.nit.store.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

//数据库对应类
@Data
public class BaseEntity implements Serializable {
    private String createdUser;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;
    private String modifiedUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifiedTime;
}
